
<%@ page import="mx.ipn.escom.segi.Alumno" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="remote-forms" />
        <g:set var="entityName" value="${message(code: 'alumno.label', default: 'Alumno')}" />
        <title><g:message code="default.list.label" args="[entityName]" /></title>
    </head>
    <body>
				<h1><g:message code="default.list.label" args="[entityName]" /></h1>
					<ul id="nav">
						<li><a class="home" href="${createLink(uri: '/')}">Home</a></li>
						<li><g:link class="create" action="create"><g:message code="default.new.label" args="[entityName]" /></g:link></li>
					</ul>
                    <div id="listAlumno">
					<g:if test="${flash.message}">
						<div id="flashMessage">${flash.message}</div>
					</g:if>
						<table>
							<thead>
								<tr>
								
									<g:sortableColumn property="id" title="${message(code: 'alumno.id.label', default: 'Id')}" />
								
									<g:sortableColumn property="curp" title="${message(code: 'alumno.curp.label', default: 'Curp')}" />
								
									<g:sortableColumn property="correo" title="${message(code: 'alumno.correo.label', default: 'Correo')}" />
								
									<th><g:message code="alumno.direccion.label" default="Direccion" /></th>
								
									<g:sortableColumn property="boleta" title="${message(code: 'alumno.boleta.label', default: 'Boleta')}" />
								
									<g:sortableColumn property="password" title="${message(code: 'alumno.password.label', default: 'Password')}" />
								
								</tr>
							</thead>
							<tbody>
							<g:each in="${alumnoInstanceList}" status="i" var="alumnoInstance">
								<tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
								
									<td><g:link action="show" id="${alumnoInstance.id}">${fieldValue(bean: alumnoInstance, field: "id")}</g:link></td>
								
									<td>${fieldValue(bean: alumnoInstance, field: "curp")}</td>
								
									<td>${fieldValue(bean: alumnoInstance, field: "correo")}</td>
								
									<td>${fieldValue(bean: alumnoInstance, field: "direccion")}</td>
								
									<td>${fieldValue(bean: alumnoInstance, field: "boleta")}</td>
								
									<td>${fieldValue(bean: alumnoInstance, field: "password")}</td>
								
								</tr>
							</g:each>
							</tbody>
						</table>
						<div id="pagination">
							<g:paginate total="${alumnoInstanceTotal}" />
						</div>
					</div>
    </body>
</html>
